<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--当文件上传-->
<form action="/upload" method="post" enctype="multipart/form-data">
    <span>
        请选择文件：
        <input type="file" name="file">
        <br>
        <input type="submit" value="上传文件">
    </span>
</form>
</body>
</html>